package cn.wolfcode.crm.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Setter@Getter
public class CustomerTransfer {
    private Long id;

    private Customer cust; //客户对象

    private Employee transUser;////移交操作的管理员

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date transDate;
    //原市场专员
    private Employee oldSeller;
    //新市场专员
    private Employee newSeller;
    //移交原因
    private String transReason;

}